//
//  loginView.swift
//  TinyShopKeeper
//
//  Created by rimi on 16/5/25.
//  Copyright © 2016年 yuying. All rights reserved.
//

import UIKit

let screenW = UIScreen.mainScreen().bounds.width
let screenH = UIScreen.mainScreen().bounds.height


class loginView: UIView {
 
    override func addSubview(view: UIView) {
     
        addSubview(imageV!)
        
    }
    

    //MARK:--
    
    lazy var imageV:UIImageView? = {
        
        let iV = UIImageView()
        iV.frame = CGRectMake(0, 0,screenW * 0.5 , screenH * 0.3)
        iV.center = CGPointMake(screenW * 0.5, screenH * 0.3)
        iV.image = UIImage(named: "logo.png")
        
        return iV
    }()
    


 



}


